{include file="public/head"/}
  <style>
	.item_width{
		width:240px;
	}
  </style>
  <body>
    <div class="x-body">
        <form class="layui-form" action="#" method="post" enctype="multipart/form-data">
            <div class="layui-form-item">
                <label for="username" class="layui-form-label">
                    <span class="x-red">*</span>所属停车场:
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="address" lay-verify="required"
                    autocomplete="off" class="layui-input"  class="item_width" readonly="" value="{$roominfo.parking_name}">
                </div>
            </div>
            <input type="hidden" name="room_id" value="{$roominfo.id}"/>
			<div class="layui-form-item">
                <label for="address" class="layui-form-label">
                    <span class="x-red">*</span>门牌号:
                </label>
                <div class="layui-input-inline">
                    <input type="text"   required="" lay-verify="required"
                    autocomplete="off" class="layui-input"  class="item_width" value="{$roominfo.group}{$roominfo.building}幢{$roominfo.unit}单元{$roominfo.room}室">
                </div>
            </div>
            <div class="layui-form-item">
                <label for="username" class="layui-form-label">
                    <span class="x-red">*</span>车牌号码:
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="username" name="car_number" required="" lay-verify="required"
                    autocomplete="off" class="layui-input"  class="item_width">
                </div>
            </div>

            <div class="layui-form-item">
                <label for="owner_name" class="layui-form-label">
                    <span class="x-red">*</span>车主姓名:
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="name" name="name" required="" lay-verify="required"
                    autocomplete="off" class="layui-input"  class="item_width">
                </div>
            </div>

            <div class="layui-form-item">
                <label for="owner_phone" class="layui-form-label">
                    <span class="x-red">*</span>车主电话:
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="phone" name="phone" required="" lay-verify="required"
                    autocomplete="off" class="layui-input"  class="item_width">
                </div>
            </div>
			
			
           

           

            <div class="layui-form-item">
                <label for="L_repass" class="layui-form-label">
                </label>
                <button  class="layui-btn" lay-filter="add" lay-submit="">
                    添加
                </button>
            </div>
        </form>
    </div>
    <script>
        layui.use('laydate', function(){
            var laydate = layui.laydate;
            
            //执行一个laydate实例
            laydate.render({
            elem: '#pay' //指定元素
            ,format: 'yyyy-MM-dd HH:mm:ss'
            });

            //执行一个laydate实例
            laydate.render({
            elem: '#in' //指定元素
            ,format: 'yyyy-MM-dd HH:mm:ss'
            });

            //执行一个laydate实例
            laydate.render({
            elem: '#out' //指定元素
            ,format: 'yyyy-MM-dd HH:mm:ss'
            });
        });  
    </script>
    <script>var _hmt = _hmt || []; (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?b393d153aeb26b46e9431fabaf0f6190";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
      })();</script>
  </body>

</html>